﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Spremenigeslo.aspx.cs"
    Inherits="Sio.Mdm.Web.Uporabnik.Spremenigeslo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Sprememba gesla</title>
</head>
<body>
    <form id="formGeslo" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" />
    <sio:formpanel runat="server" id="spremeniGeslo" layout="Form" autoheight="true"
        icon="Textfield" closable="false" padding="5" labelwidth="100" anchorhorizontal="95%"
        monitorpoll="500" monitorvalid="true">
    <Items>
              <ext:TextField 
                    ID="tfStaroGeslo" 
                    runat="server"                    
                    FieldLabel="Staro geslo"
                    MinLength="3"
                    AllowBlank="false"
                    InputType="Password"
                    MsgTarget="Under"
                    Width="155">                            
                </ext:TextField>
                <ext:TextField 
                    ID="tfNovoGeslo" 
                    runat="server"                    
                    FieldLabel="Novo geslo"
                    MinLength="3"                    
                    AllowBlank="false"
                    InputType="Password"
                    MsgTarget="Under"
                    Width="155">                            
                </ext:TextField>
                <ext:TextField ID="tfPotrdiGeslo" 
                    runat="server"                     
                    Vtype="password"
                    FieldLabel="Potrdi geslo"
                    AllowBlank="false"
                    InputType="Password"
                    MsgTarget="Under"
                    Width="155">     
                    <CustomConfig>
                        <ext:ConfigItem Name="initialPassField" Value="#{tfNovoGeslo}" Mode="Value" />
                    </CustomConfig>                      
                </ext:TextField>     
            </Items>   
    <Listeners>
      <ClientValidation Handler="#{SpremeniGesloProxy}.disableButton('Save', !valid);" />
    </Listeners>            
  </sio:formpanel>
    <sio:dialogproxy runat="server" id="SpremeniGesloProxy" windowid="SpremeniGeslo">
	    <DirectEvents>
		    <ButtonClicked OnEvent="SpremeniGesloButton">
		    </ButtonClicked>
	    </DirectEvents>
	    </sio:dialogproxy>
    </form>
</body>
</html>
